-- GENERATED SPELL FOR [Bloodfeather Harpy] --


function spell0_2015(pUnit, Event) --@Blood Leech,Heal--
pUnit:FullCastSpellOnTarget(6958,pUnit)
pUnit:RegisterEvent('Sorts_2015', 626, 1)
end

function Sorts_2015(pUnit, Event)
local choix_sorts_2015 = math.random(0, 0)
if choix_sorts_2015 == 0 then
pUnit:RegisterEvent('spell0_2015', 1, 1)
end
end

function mob2015_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2015', math.random(1500, 3000), 1)
end

function mob2015_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2015_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2015_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2015, 1, 'mob2015_Action')
RegisterUnitEvent(2015, 2, 'mob2015_Leave')
RegisterUnitEvent(2015, 3, 'mob2015_Kill')
RegisterUnitEvent(2015, 4, 'mob2015_Die')
